package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.ActorDao;
import com.totoro.dao.BaseHibernateDao;
import com.totoro.domain.Actor;

@Transactional
@Service
public class ActorService extends BaseService<Actor, Integer>{

	private ActorDao actorDao;
	
	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<Actor, Integer> actorDao) {
		// TODO Auto-generated method stub
		this.baseDao = actorDao;
		this.actorDao = (ActorDao) actorDao;
	}

}
